import axios from "axios"
class WorkOrgPlanModel{
  getData(formInline){
    return axios.get("http://localhost/NyxWorOrgPlan",{params:formInline})
  }
  del(id){
    return axios.delete(`http://localhost/NyxWorOrgPlan/${id}`)
  }
  getId(){
    return axios.get(`http://localhost/NyxWorOrgPlan/id`)
  }
  save(formInline){
    return axios.post(`http://localhost/NyxWorOrgPlan`,formInline)
  }
  update(formInline){
    return axios.put(`http://localhost/NyxWorOrgPlan`,formInline)
  }
}
export default WorkOrgPlanModel